"""
@Author  : 康帅
@Time    : 2021/1/5 10:07
@Function: 列表合并字典
"""

k = ['name', 'age']
v = ['ks', 24]

# 方法一
# kv_dict = dict(zip(k, v))

# 方法二
kv_dict = {k: v for k, v in zip(k, v)}
print(kv_dict)
